public class AskUserWebDownload {
	public static void main(String[] args) throws Exception {
		String msg = args.length > 0 ? args[0] : ",";
		System.out.println("Build wants to download files from web" + msg + " allow? (y/n)\n? ");
		int ch = System.in.read();
		if (ch == 'y') {
			System.exit(0);
		} else {
			System.out.println("Build cancelled");
			System.exit(1);
		}
	}
}
